package com.freemalll.merchant.domain.vo.merchantReport;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商户业务表现统计月表 DTO
 */
@Data
@Schema(description = "商户业务表现统计月数据")
public class MerchantBizPerfMonthVo {

    @Schema(description = "商户ID", example = "M123456")
    private String bizId;

    @Schema(description = "统计年份", example = "2025")
    private String yearId;

    @Schema(description = "统计月份（格式：yyyy-MM）", example = "2025-01")
    private String monthId;

    @Schema(description = "申请笔数", example = "500")
    private Integer applyCnt;

    @Schema(description = "批核率（百分比）", example = "0.85")
    private BigDecimal passRatio;

    @Schema(description = "放款笔数", example = "400")
    private Integer loanCnt;

    @Schema(description = "放款金额（元）", example = "8000000.00")
    private BigDecimal loanAmt;

    @Schema(description = "逾期笔数", example = "10")
    private Integer overCnt;

    @Schema(description = "逾期金额（元）", example = "200000.00")
    private BigDecimal overBalanceAmt;

    @Schema(description = "首逾笔数", example = "5")
    private Integer fpdOverCnt;

    @Schema(description = "逾期率（百分比）", example = "0.02")
    private BigDecimal overAmtRatio;

    @Schema(description = "首逾率（百分比）", example = "0.01")
    private BigDecimal fpdOverAmtRatio;

    @Schema(description = "新增逾期率（百分比）", example = "0.015")
    private BigDecimal newOverAmtRatio;

}
